import request from '@/utils/request.js';

// 例子1
// export const getVoteList = () => {
// 	return request({
// 		url: 'village/together/list',
// 		method: 'get'
// 	})

// }
// 获取openid
export const getOpenid = (code) => {
	return request({
		url:'village/account/login',
		method:'GET',
		data:{
			code
		}
	})

}